<<<<<<< HEAD
package com.wwx.dao;

import java.sql.Connection;
import java.util.List;

import com.wwx.dto.CartoonVO;
import com.wwx.entity.CartoonDO;

public interface CartoonDao {
	/**
	 * 通过关键字来查询动漫
	 * @author wc
	 * @param key
	 * @param value
	 * @param Connection
	 * @return List<CartoonDO>
	 * @throws Exception
	 */
	public List<CartoonDO> getSelectByKey(String key,String value,Connection conn)
			throws Exception;
	/**
	 * 通过id查询动漫
	 * @author wyndem
	 * @param id
	 * @param Connection
	 * @return CartoonDO
	 */
	public CartoonDO byIdCartoon(int id ,Connection conn);
	/**
	 * 添加动漫
	 * @author wc
	 * @param CartoonDO
	 * @param Connection
	 * @return boolean
	 * @throws Exception
	 */
	public boolean innertCartoon(CartoonDO cart,Connection conn)throws Exception;
	/**
	 * 查询所有的漫画
	 * @param Connection
	 * @return List<CartoonDO>
	 * @throws Exception
	 */
	public List<CartoonDO> selectAllCartoon(Connection conn)throws Exception;
	/**
	 * 分页查询所有的漫画
	 * @param Connection
	 * @return List<CartoonDO>
	 * @throws Exception
	 */
	public List<CartoonDO> selectAllCartoonPage(CartoonDO cartoonDO,int start,int length);
	/**
	 * 分页查询所有的漫画个数
	 * @param Connection
	 * @return List<CartoonDO>
	 * @throws Exception
	 */
	public Integer selectAllCartoonPageNumber(CartoonDO cartoonDO);
	
}
=======
package com.wwx.dao;

import java.sql.Connection;
import java.util.List;

import com.wwx.dto.CartoonVO;
import com.wwx.entity.CartoonDO;

public interface CartoonDao {
	/**
	 * 通过关键字来查询动漫
	 * @author wc
	 * @param key
	 * @param value
	 * @param Connection
	 * @return List<CartoonDO>
	 * @throws Exception
	 */
	public List<CartoonDO> getSelectByKey(String key,String value,Connection conn)
			throws Exception;
	/**
	 * 通过id查询动漫
	 * @author wyndem
	 * @param id
	 * @param Connection
	 * @return CartoonDO
	 */
	public CartoonDO byIdCartoon(int id ,Connection conn);
	/**
	 * 添加动漫
	 * @author wc
	 * @param CartoonDO
	 * @param Connection
	 * @return boolean
	 * @throws Exception
	 */
	public boolean innertCartoon(CartoonDO cart,Connection conn)throws Exception;
	/**
	 * 查询所有的漫画
	 * @param Connection
	 * @return List<CartoonDO>
	 * @throws Exception
	 */
	public List<CartoonDO> selectAllCartoon(Connection conn)throws Exception;
	/**
	 * 分页查询所有的漫画
	 * @param Connection
	 * @return List<CartoonDO>
	 * @throws Exception
	 */
	public List<CartoonDO> selectAllCartoonPage(CartoonDO cartoonDO,int start,int length);
	/**
	 * 分页查询所有的漫画个数
	 * @param Connection
	 * @return List<CartoonDO>
	 * @throws Exception
	 */
	public Integer selectAllCartoonPageNumber(CartoonDO cartoonDO);
	
}
>>>>>>> dev
